## 定义一个立方体的顶点和边
import numpy as np

vertices = np.array([
    [-1, -1, -1, 1],
    [-1, -1, 1, 1],
    [-1, 1, -1, 1],
    [-1, 1, 1, 1],
    [1, -1, -1, 1],
    [1, -1, 1, 1],
    [1, 1, -1, 1],
    [1, 1, 1, 1],
])
# 顶点索引（边）
indices = [
    (0, 1), (1, 3), (3, 2), (2, 0),   # left face
    (4, 5), (5, 7), (7, 6), (6, 4),   # right face
    (0, 4), (1, 5), (2, 6), (3, 7)    # connecting edges
]





